#include<bits/stdc++.h>
using namespace std;
int n,m;
int main(){
	srand(time(0));
	freopen("arena.in","r",stdin);
	freopen("arena.out","w",stdout);
	scanf("%d%d",&n,&m);
	for(int i=1;i<=n;i++)
	while(t--){
		cout<<rand()<<"\n";
	}
	return 0;	
}